package com.example.rustfs.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 回收站文件实体
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class DeletedFile {
    
    private Long id;
    private Long userId;
    private String originalKey;      // 原始文件key
    private String deletedKey;       // 回收站中的key
    private String fileName;
    private Long fileSize;
    private String fileType;
    private LocalDateTime deletedTime;
    private LocalDateTime expireTime; // 过期时间（30天后自动删除）
}

